def sum_4():
    sum1 = 0
    for i in range(4):
        a= input("输入四个数字:")
        sum1 += int(a)
    return sum1
print(sum_4())